package com.shuoyue.ycgk.ui.papergroups.freedom;

import android.content.Context;
import android.content.Intent;

import com.shuoyue.ycgk.entity.Paper;
import com.shuoyue.ycgk.ui.papergroups.BasePaperGroupInfoActivity;

/**
 * 自由组卷详情
 */
public class FreedomInfoActivity extends BasePaperGroupInfoActivity {
    public static void start(Context sourse, int id, int subjectTypeId) {
        sourse.startActivity(new Intent(sourse, FreedomInfoActivity.class)
                .putExtra("id", id)
                .putExtra("subjectTypeId", subjectTypeId));
    }

    @Override
    protected void initView() {
        super.initView();
    }

    @Override
    protected void createPaper(Paper paper) {
        createPresenter.createSetPaper(paper.getId(), paper.getName());
    }
}
